AUTOMAKE_OPTIONS = foreign

ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS}

AM_CXXFLAGS = @AM_CXXFLAGS@ -L. -I. $(LIBEX_include) $(LIBHPDF_include) $(SSL_CFLAGS)

AM_LDFLAGS = -DBUILDING_EXAMPLE_DLL @AM_LDFLAGS@ -L. -I. $(LIBEX_libs) $(LIBHPDF_libs) $(SSL_LIBS)

lib_LTLIBRARIES = libapdf-@LIBAPDF_API_VERSION@.la
lib_LIBRARIES = libapdf-@LIBAPDF_API_VERSION@.a

libapdf_@LIBAPDF_API_VERSION@_ladir = $(includedir)
libapdf_@LIBAPDF_API_VERSION@_adir = $(includedir)

libapdf_@LIBAPDF_API_VERSION@_la_SOURCES = libapdf.C 
libapdf_@LIBAPDF_API_VERSION@_a_SOURCES = libapdf.C 

libapdf_@LIBAPDF_API_VERSION@_la_HEADERS = libapdf.h configapdf.h
libapdf_@LIBAPDF_API_VERSION@_a_HEADERS = libapdf.h configapdf.h

libapdf_@LIBAPDF_API_VERSION@_la_LDFLAGS = -version-info $(LIBAPDF_SO_VERSION) -no-undefined $(LIBEX_libs) $(LIBHPDF_libs) $(SSL_LIBS)

libapdf_@LIBAPDF_API_VERSION@_la_CPPFLAGS = -I. -g -c -L. $(LIBEX_include) $(LIBHPDF_include) $(SSL_CFLAGS)

libapdf_@LIBAPDF_API_VERSION@_a_LIBADD = @LTLIBOBJS@
